package com.example.test.service;

import com.example.test.Bean.UserBean;
import com.example.test.Bean.UserImgBean;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {
    UserBean loginln(String name, String password);
    List<UserBean> getAllUser();
    int insertUser(UserBean userBean);
    int deleteUser(String id);
    UserBean getUserById(String id);
    int updateUser(UserBean userBean);
    PageInfo<UserBean> selectUser4Page(Integer page, Integer pageSize);
    int insertUserImg(UserImgBean userImgBean);
    int getId(UserBean userBean);
    List<UserImgBean>getUserImgsById(String user_id);
}
